package com.zmzncs.shop.module.park.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zmzncs.shop.module.park.pojo.parkinfo.ParkInfo;
import com.zmzncs.shop.module.park.pojo.parkinfo.ParkInfoDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rr
 * @since 2020-12-31
 */
@Repository
@Mapper
public interface ParkInfoMapper extends BaseMapper<ParkInfo> {

      /** 查询分页数据 */
      IPage<ParkInfoDTO> list(Page page);

      /** 根据id查询数据 */
      ParkInfoDTO getById(Long id);

}
